/*
 * PurchaseOrderLineItem.java
 *
 * Created on June 8, 2002, 5:23 PM
 */

package com.scalar.chiptrack.finance;

/**
 *
 * @author  Mallikarjun
 * @version 1.0
 */

public class PurchaseOrderLineItem {
    private int lineItemId = -1;
    private int item;
    private int purchaseOrderId = -1;
    private String manufacturingPartNumber;
    private String vendorPartNumber;
    private String requestDate;
    private int quantity;
    private float rate;
    private float amount;
    
    /** Creates new PurchaseOrderLineItem */
    public PurchaseOrderLineItem() {
    }
    
    public PurchaseOrderLineItem(int lineItemId,int purchaseOrderId, String manufacturingPartNumber,int item, 
            String vendorPartNumber, String requestedDate, int quantity,float rate,float amount)
    {
        this.lineItemId = lineItemId;
        this.purchaseOrderId = purchaseOrderId;
        this.item = item;
        this.manufacturingPartNumber = manufacturingPartNumber;
        this.vendorPartNumber = vendorPartNumber;
        this.requestDate  = requestedDate;
        this.quantity = quantity;
        this.rate = rate;
        this.amount = amount;
    }
    
    
    public int getLineItemId()
    {
        return lineItemId;
    }
    
    public void setLineItemId(int lineItemId)
    {
        this.lineItemId = lineItemId;
    }
    
    public int getPurchaseOrderId()
    {
        return purchaseOrderId;
    }
    
    public void setPurchaseOrderId(int purchaseOrderId)
    {
        this.purchaseOrderId = purchaseOrderId;
    }
    
    public void setItem(int item){
        this.item = item;
    }
    public int getItem(){
        return item;
    }
    
    public void setManufacturingPartNumber(String manufacturingPartNumber){
        this.manufacturingPartNumber = manufacturingPartNumber;
    }
    public String getManufacturingPartNumber(){
        return manufacturingPartNumber;
    }
    
    public void setVendorPartNumber(String vendorPartNumber){
        this.vendorPartNumber = vendorPartNumber;
    }
    public String getVendorPartNumber(){
        return vendorPartNumber;
    }
   
   	public void setRequestDate(String requestDate){
   		this.requestDate = requestDate;
   	}
   	public String getRequestDate(){
   		return requestDate;
   	}
   	
    public void setQuantity(int quantity){
        this.quantity = quantity;
    }
    public int getQuantity(){
        return quantity;
    }
    
    public void setRate(float rate){
        this.rate = rate;
    }
    public float getRate(){
        return rate;
    }
    
    public void setAmount(float amount){
        this.amount = amount;
    }
    public float getAmount(){
        return amount;
    }
}
